#include "mylable.h"

#include <QDebug>

MyLable::MyLable(QWidget *parent) : QLabel(parent)
{
}

void MyLable::mousePressEvent(QMouseEvent *event)
{
    if (event->type() == QEvent::MouseButtonPress) {
        qDebug() << "111";
        emit myClicked();
        qDebug() << "222";
    }
}
